package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 巡视巡查评价对象 t_inspection
 * 
 * @author ruoyi
 * @date 2024-02-28
 */
public class TInspection extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 措施编号 */
    @Excel(name = "措施编号")
    private String methodId;

    /** 任务类别 */
    @Excel(name = "任务类别")
    private String taskType;

    /** 整改措施 */
    @Excel(name = "整改措施")
    private String method;

    /** 完成时限 */
    @Excel(name = "完成时限")
    private String deadLine;

    /** 单位ID */
    private Long unitId;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String unitName;

    /** 部门ID */
    private Long deptId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 任务状态ID */
    private Long taskStatusId;

    /** 任务状态 */
    @Excel(name = "任务状态")
    private String taskStatus;

    /** 上级措施ID */
    @Excel(name = "上级措施ID")
    private Long parentMethodId;

    /** 评价 */
    @Excel(name = "评价")
    private String evaluation;

    /** 评价时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date evaluationDate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 本单位措施编号 */
    @Excel(name = "本单位措施编号")
    private Long unitMethodId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMethodId(String methodId) 
    {
        this.methodId = methodId;
    }

    public String getMethodId() 
    {
        return methodId;
    }
    public void setTaskType(String taskType) 
    {
        this.taskType = taskType;
    }

    public String getTaskType() 
    {
        return taskType;
    }
    public void setMethod(String method) 
    {
        this.method = method;
    }

    public String getMethod() 
    {
        return method;
    }
    public void setDeadLine(String deadLine) 
    {
        this.deadLine = deadLine;
    }

    public String getDeadLine() 
    {
        return deadLine;
    }
    public void setUnitId(Long unitId) 
    {
        this.unitId = unitId;
    }

    public Long getUnitId() 
    {
        return unitId;
    }
    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setTaskStatusId(Long taskStatusId) 
    {
        this.taskStatusId = taskStatusId;
    }

    public Long getTaskStatusId() 
    {
        return taskStatusId;
    }
    public void setTaskStatus(String taskStatus) 
    {
        this.taskStatus = taskStatus;
    }

    public String getTaskStatus() 
    {
        return taskStatus;
    }
    public void setParentMethodId(Long parentMethodId) 
    {
        this.parentMethodId = parentMethodId;
    }

    public Long getParentMethodId() 
    {
        return parentMethodId;
    }
    public void setEvaluation(String evaluation) 
    {
        this.evaluation = evaluation;
    }

    public String getEvaluation() 
    {
        return evaluation;
    }
    public void setEvaluationDate(Date evaluationDate) 
    {
        this.evaluationDate = evaluationDate;
    }

    public Date getEvaluationDate() 
    {
        return evaluationDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setUnitMethodId(Long unitMethodId) 
    {
        this.unitMethodId = unitMethodId;
    }

    public Long getUnitMethodId() 
    {
        return unitMethodId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("methodId", getMethodId())
            .append("taskType", getTaskType())
            .append("method", getMethod())
            .append("deadLine", getDeadLine())
            .append("unitId", getUnitId())
            .append("unitName", getUnitName())
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("taskStatusId", getTaskStatusId())
            .append("taskStatus", getTaskStatus())
            .append("parentMethodId", getParentMethodId())
            .append("evaluation", getEvaluation())
            .append("evaluationDate", getEvaluationDate())
            .append("updateDate", getUpdateDate())
            .append("unitMethodId", getUnitMethodId())
            .toString();
    }
}
